package com.atstudent.gmall.canal;

import com.xpand.starter.canal.annotation.EnableCanalClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * @Author 薛有朋
 * @CreatDate 2024/12/18 22:49
 **/
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableCanalClient // 声明当前的服务是Canal的一个客户端
public class CanalClientApplication {
    public static void main(String[] args) {
        SpringApplication.run(CanalClientApplication.class , args);
    }
}
